package com.zh.remote.pojo.param;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class CreateLoginDto {
    private Long id;
    @NotEmpty(message = "用户名不能为空")
    private String username;
    private String password;
    /**
     * 0是平台账户，1是司机账户，2是客户账户
     */
    @NotNull(message = "类型不能为空")
    private Integer type;
    private String openId;
    /**
     * 手机号
     */
    @NotNull(message = "手机号不能为空")
    private String phone;


}
